home *** CD-ROM | disk | FTP | other *** search
- Path: wiedmann.neckar-alb.de!jochen
- From: jochen@I_should_put_my_domain_in_etc_NNTP_INEWS_DOMAIN (Jochen Wiedmann)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Opening Libraries "Quietly"
- Date: 1 Feb 1996 18:35:42 GMT
- Organization: ISS Internet Service Stuttgart GmbH
- Message-ID: <4er15u$8sf@iss1.neckar-alb.de>
- References: <DLzwBH.4Eu@utcc.utoronto.ca>
- Reply-To: wiedmann@neckar-alb.de
- NNTP-Posting-Host: wiedmann.neckar-alb.de
- X-Newsreader: TIN [version 1.2 PL2]
-
- Norman Baccari (normb@gpu.utcc.utoronto.ca) wrote:
-
- : From what I understand, when calling OpenLib() this causes the
- : library thats being opened to call its own init proceedure.
- : I want to open the library to get Ver/Rev and id_string and
- : quietly leave without affecting anything. When I do this now
- : some libraries do there "init thing" and will try and run
- : themselves. Toolmanager.library will do this and so does
- : vmm.library. In an extreme case the system will crash on the
- : OpenLib() as it does when the amos.library opened. Is there a
- : way to get the info I want from any disk based library,
- : quietly & legally?
-
- How about examining System("C:Version Sys:MyLib.library")? (Not the
- best idea, of course, but does what you want.) You could still do
- a OpenLibrary(), if the above call fails.
-
-
- Bye,
-
- Jochen
-
-